/*
 * Copyright (c) 2020, 2023, 3044483124@qq.com All rights reserved.
 *
 */
package cn.itcast;

import java.io.PrintWriter;
import java.net.Socket;

/**
 * <p>Project: JavaStudy - Tell
 * <p>Powered by jiangbo On 2023-01-13
 * 17:39:43
 * <p>Created by IntelliJ IDEA
 *
 * @author jiangbo [3044483124@qq.com]
 * @version 1.0
 * @since 8/17
 */
public class Tell {
    public static void main(String[] args) {
        try (Socket s = new Socket("192.168.10.18", 3322);
             PrintWriter out = new PrintWriter(s.getOutputStream());){
                out.print("学生；文乐\r\n");
                out.flush();
        } catch (Exception e) {
           e.printStackTrace();
        }
    }
}


